package com.xtaller.easy.admin.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xtaller.common.kit.IdKit;
import java.io.Serializable;

/**
* Created by Taller on 2018/05/11
*/
@SuppressWarnings("serial")
@TableName(value = "base_user")
public class BaseUser extends Model<BaseUser> {
  private String id = IdKit.getId(200);
  private String loginName;
  private String password;
  private String salt;
  private Integer status;
  private String creator;
  private Integer createTime;
  private String reviser;
  private Integer reviseTime;
  private Integer isDel;

  public String getId() {
      return id;
  } 
  public void setId(String id) {
      this.id = id;
  } 
  public String getLoginName() { 
      return loginName;
  } 
  public void setLoginName(String loginName) { 
      this.loginName = loginName;
  } 
  public String getPassword() { 
      return password;
  } 
  public void setPassword(String password) { 
      this.password = password;
  } 
  public String getSalt() { 
      return salt;
  } 
  public void setSalt(String salt) { 
      this.salt = salt;
  } 
  public Integer getStatus() { 
      return status;
  } 
  public void setStatus(Integer status) { 
      this.status = status;
  } 
  public String getCreator() {
      return creator;
  } 
  public void setCreator(String creator) {
      this.creator = creator;
  } 
  public Integer getCreateTime() { 
      return createTime;
  } 
  public void setCreateTime(Integer createTime) { 
      this.createTime = createTime;
  } 
  public String getReviser() {
      return reviser;
  } 
  public void setReviser(String reviser) {
      this.reviser = reviser;
  } 
  public Integer getReviseTime() { 
      return reviseTime;
  } 
  public void setReviseTime(Integer reviseTime) { 
      this.reviseTime = reviseTime;
  } 
  public Integer getIsDel() { 
      return isDel;
  } 
  public void setIsDel(Integer isDel) { 
      this.isDel = isDel;
  } 
  @Override
  protected Serializable pkVal() {
      return id;
  }
}
